#!/usr/bin/env python

#打印菱形
def diamond(num):
    for i in range(0, num):
        a = (num-i-1) * " " + (2 * i + 1) * "*"
        print(a)

    for i in range(1, num):
        a = i * " " + (2 * (num - i) - 1) * "*"
        print(a)
diamond(int(input(":")))
